package com.xsx.mybatis.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xsx.mybatis.bean.Users;
import com.xsx.mybatis.dao.UsersMapper;

@Service
public class UsersService {
	
	@Autowired
	private UsersMapper ump;
	
	public List<Users> getUsers() {
		return ump.getAllusers();
	}
}
